package com.ruoyi.test4.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 装备管理对象 equipment
 * 
 * @author 22082109czy
 * @date 2025-07-09
 */
public class Equipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 装备ID */
    @Excel(name = "装备ID")
    private Long id;

    /** 装备名称 */
    @Excel(name = "装备名称")
    private String equipmentName;

    /** 装备类别 */
    @Excel(name = "装备类别")
    private String category;

    /** 状态(1:正常 2:维修 3:报废) */
    @Excel(name = "状态(1:正常 2:维修 3:报废)")
    private Long status;

    /** 派出状态：在库、已派出 */
    @Excel(name = "派出状态：在库、已派出")
    private String dispatchStatus;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private Long warehouseId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setEquipmentName(String equipmentName) { this.equipmentName = equipmentName; }

    public String getEquipmentName() 
    {
        return equipmentName;
    }

    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setDispatchStatus(String dispatchStatus) 
    {
        this.dispatchStatus = dispatchStatus;
    }

    public String getDispatchStatus() 
    {
        return dispatchStatus;
    }

    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentName", getEquipmentName())
            .append("category", getCategory())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("dispatchStatus", getDispatchStatus())
            .append("warehouseId", getWarehouseId())
            .toString();
    }
}
